[INFO] fetching crate detour 0.8.1...
[INFO] checking detour-0.8.1 against master#158f00a1c5175648af6f6099b075f78d1d014a28 for pr-121251
[INFO] extracting crate detour 0.8.1 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate detour 0.8.1 on toolchain 158f00a1c5175648af6f6099b075f78d1d014a28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate detour 0.8.1
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate detour 0.8.1
[INFO] tweaked toml for crates.io crate detour 0.8.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate crates.io crate detour 0.8.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded slice-pool v0.4.1
[INFO] [stderr]   Downloaded mmap-fixed v0.1.5
[INFO] [stderr]   Downloaded libudis86-sys v0.2.1
[INFO] [stderr]   Downloaded libc v0.2.94
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2ce9a9ee2db317225bcef4db96d9aa7e84cbccd30483e96890ef9fe56d5fbad8
[INFO] running `Command { std: "docker" "start" "-a" "2ce9a9ee2db317225bcef4db96d9aa7e84cbccd30483e96890ef9fe56d5fbad8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2ce9a9ee2db317225bcef4db96d9aa7e84cbccd30483e96890ef9fe56d5fbad8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2ce9a9ee2db317225bcef4db96d9aa7e84cbccd30483e96890ef9fe56d5fbad8", kill_on_drop: false }`
[INFO] [stdout] 2ce9a9ee2db317225bcef4db96d9aa7e84cbccd30483e96890ef9fe56d5fbad8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1a7ea7747ac913570b541d2b01f85be84cd92ee575572cac68bb90c113b0b88f
[INFO] running `Command { std: "docker" "start" "-a" "1a7ea7747ac913570b541d2b01f85be84cd92ee575572cac68bb90c113b0b88f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.94
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling cc v1.0.67
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]     Checking slice-pool v0.4.1
[INFO] [stderr]     Checking matches v0.1.8
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]     Checking mmap-fixed v0.1.5
[INFO] [stderr]     Checking region v2.2.0
[INFO] [stderr]    Compiling libudis86-sys v0.2.1
[INFO] [stderr]     Checking detour v0.8.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/arch/x86/mod.rs:144:7
[INFO] [stdout]     |
[INFO] [stdout] 144 |       asm!(
[INFO] [stdout]     |       ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 14  +   use core::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 14  +   use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/arch/x86/mod.rs:124:7
[INFO] [stdout]     |
[INFO] [stdout] 124 |       asm!(
[INFO] [stdout]     |       ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 14  +   use core::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 14  +   use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/arch/x86/mod.rs:103:7
[INFO] [stdout]     |
[INFO] [stdout] 103 |       asm!(
[INFO] [stdout]     |       ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 14  +   use core::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 14  +   use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/arch/x86/mod.rs:85:7
[INFO] [stdout]    |
[INFO] [stdout] 85 |       asm!(
[INFO] [stdout]    |       ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 14 +   use core::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 14 +   use std::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/arch/x86/mod.rs:64:7
[INFO] [stdout]    |
[INFO] [stdout] 64 |       asm!(
[INFO] [stdout]    |       ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 14 +   use core::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 14 +   use std::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/arch/x86/mod.rs:43:7
[INFO] [stdout]    |
[INFO] [stdout] 43 |       asm!(
[INFO] [stdout]    |       ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 14 +   use core::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 14 +   use std::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library
[INFO] [stdout]  --> src/lib.rs:8:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   feature(naked_functions, core_intrinsics, asm)
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: using it is strongly discouraged
[INFO] [stdout]   = note: `#[warn(internal_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `const_fn_trait_bound` has been stable since 1.61.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 |   feature(const_fn_trait_bound, unboxed_closures, abi_thiscall)
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `abi_thiscall` has been stable since 1.73.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:4:51
[INFO] [stdout]   |
[INFO] [stdout] 4 |   feature(const_fn_trait_bound, unboxed_closures, abi_thiscall)
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `const_fn_trait_bound` has been stable since 1.61.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 |   feature(const_fn_trait_bound, unboxed_closures, abi_thiscall)
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `abi_thiscall` has been stable since 1.73.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:4:51
[INFO] [stdout]   |
[INFO] [stdout] 4 |   feature(const_fn_trait_bound, unboxed_closures, abi_thiscall)
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `asm` has been stable since 1.59.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:8:45
[INFO] [stdout]   |
[INFO] [stdout] 8 |   feature(naked_functions, core_intrinsics, asm)
[INFO] [stdout]   |                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0059]: type parameter to bare `Fn` trait must be a tuple
[INFO] [stdout]    --> src/detours/statik.rs:106:8
[INFO] [stdout]     |
[INFO] [stdout] 106 |     D: Fn<T::Arguments, Output = T::Output> + Send + 'static,
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Tuple` is not implemented for `<T as Function>::Arguments`
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `Fn`
[INFO] [stdout]    --> /rustc/158f00a1c5175648af6f6099b075f78d1d014a28/library/core/src/ops/function.rs:76:1
[INFO] [stdout] help: consider further restricting the associated type
[INFO] [stdout]     |
[INFO] [stdout] 106 |     D: Fn<T::Arguments, Output = T::Output> + Send + 'static, <T as Function>::Arguments: Tuple
[INFO] [stdout]     |                                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0059]: type parameter to bare `Fn` trait must be a tuple
[INFO] [stdout]    --> src/detours/statik.rs:157:8
[INFO] [stdout]     |
[INFO] [stdout] 157 |     C: Fn<T::Arguments, Output = T::Output> + Send + 'static,
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Tuple` is not implemented for `<T as Function>::Arguments`
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `Fn`
[INFO] [stdout]    --> /rustc/158f00a1c5175648af6f6099b075f78d1d014a28/library/core/src/ops/function.rs:76:1
[INFO] [stdout] help: consider further restricting the associated type
[INFO] [stdout]     |
[INFO] [stdout] 157 |     C: Fn<T::Arguments, Output = T::Output> + Send + 'static, <T as Function>::Arguments: Tuple
[INFO] [stdout]     |                                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0059]: type parameter to bare `Fn` trait must be a tuple
[INFO] [stdout]    --> src/detours/statik.rs:106:8
[INFO] [stdout]     |
[INFO] [stdout] 106 |     D: Fn<T::Arguments, Output = T::Output> + Send + 'static,
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Tuple` is not implemented for `<T as Function>::Arguments`
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `Fn`
[INFO] [stdout]    --> /rustc/158f00a1c5175648af6f6099b075f78d1d014a28/library/core/src/ops/function.rs:76:1
[INFO] [stdout] help: consider further restricting the associated type
[INFO] [stdout]     |
[INFO] [stdout] 106 |     D: Fn<T::Arguments, Output = T::Output> + Send + 'static, <T as Function>::Arguments: Tuple
[INFO] [stdout]     |                                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0059]: type parameter to bare `Fn` trait must be a tuple
[INFO] [stdout]    --> src/detours/statik.rs:157:8
[INFO] [stdout]     |
[INFO] [stdout] 157 |     C: Fn<T::Arguments, Output = T::Output> + Send + 'static,
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Tuple` is not implemented for `<T as Function>::Arguments`
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `Fn`
[INFO] [stdout]    --> /rustc/158f00a1c5175648af6f6099b075f78d1d014a28/library/core/src/ops/function.rs:76:1
[INFO] [stdout] help: consider further restricting the associated type
[INFO] [stdout]     |
[INFO] [stdout] 157 |     C: Fn<T::Arguments, Output = T::Output> + Send + 'static, <T as Function>::Arguments: Tuple
[INFO] [stdout]     |                                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `<T as Function>::Arguments` is not a tuple
[INFO] [stdout]    --> src/detours/statik.rs:180:5
[INFO] [stdout]     |
[INFO] [stdout] 180 | /     unsafe { self.closure.load(Ordering::SeqCst).as_ref() }
[INFO] [stdout] 181 | |       .ok_or(Error::NotInitialized)
[INFO] [stdout] 182 | |       .expect("retrieving detour closure")
[INFO] [stdout]     | |__________________________________________^ the trait `Tuple` is not implemented for `<T as Function>::Arguments`, which is required by `Box<dyn Fn<<T as Function>::Arguments, Output = <T as Function>::Output>>: Fn<<T as Function>::Arguments>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: required for `Box<dyn Fn<<T as Function>::Arguments, Output = <T as Function>::Output>>` to implement `Fn<<T as Function>::Arguments>`
[INFO] [stdout]     = note: required for the cast from `&Box<dyn Fn<<T as Function>::Arguments, Output = <T as Function>::Output>>` to `&dyn Fn<<T as Function>::Arguments, Output = <T as Function>::Output>`
[INFO] [stdout] help: consider further restricting the associated type
[INFO] [stdout]     |
[INFO] [stdout] 178 |   pub fn __detour(&self) -> &dyn Fn<T::Arguments, Output = T::Output> where <T as Function>::Arguments: Tuple {
[INFO] [stdout]     |                                                                       +++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/arch/x86/mod.rs:42:43
[INFO] [stdout]    |
[INFO] [stdout] 42 |     unsafe extern "C" fn branch_ret5() -> i32 {
[INFO] [stdout]    |                          -----------      ^^^ expected `i32`, found `()`
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/arch/x86/mod.rs:63:45
[INFO] [stdout]    |
[INFO] [stdout] 63 |     unsafe extern "C" fn hotpatch_ret0() -> i32 {
[INFO] [stdout]    |                          -------------      ^^^ expected `i32`, found `()`
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/arch/x86/mod.rs:84:50
[INFO] [stdout]    |
[INFO] [stdout] 84 |     unsafe extern "C" fn padding_after_ret0() -> i32 {
[INFO] [stdout]    |                          ------------------      ^^^ expected `i32`, found `()`
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/arch/x86/mod.rs:102:45
[INFO] [stdout]     |
[INFO] [stdout] 102 |     unsafe extern "C" fn external_loop() -> i32 {
[INFO] [stdout]     |                          -------------      ^^^ expected `i32`, found `()`
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/arch/x86/mod.rs:123:51
[INFO] [stdout]     |
[INFO] [stdout] 123 |     unsafe extern "C" fn rip_relative_ret195() -> i32 {
[INFO] [stdout]     |                          -------------------      ^^^ expected `i32`, found `()`
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/arch/x86/mod.rs:143:57
[INFO] [stdout]     |
[INFO] [stdout] 143 |     unsafe extern "C" fn rip_relative_prolog_ret49() -> i32 {
[INFO] [stdout]     |                          -------------------------      ^^^ expected `i32`, found `()`
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `<T as Function>::Arguments` is not a tuple
[INFO] [stdout]    --> src/detours/statik.rs:180:5
[INFO] [stdout]     |
[INFO] [stdout] 180 | /     unsafe { self.closure.load(Ordering::SeqCst).as_ref() }
[INFO] [stdout] 181 | |       .ok_or(Error::NotInitialized)
[INFO] [stdout] 182 | |       .expect("retrieving detour closure")
[INFO] [stdout]     | |__________________________________________^ the trait `Tuple` is not implemented for `<T as Function>::Arguments`, which is required by `Box<dyn Fn<<T as Function>::Arguments, Output = <T as Function>::Output>>: Fn<<T as Function>::Arguments>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: required for `Box<dyn Fn<<T as Function>::Arguments, Output = <T as Function>::Output>>` to implement `Fn<<T as Function>::Arguments>`
[INFO] [stdout]     = note: required for the cast from `&Box<dyn Fn<<T as Function>::Arguments, Output = <T as Function>::Output>>` to `&dyn Fn<<T as Function>::Arguments, Output = <T as Function>::Output>`
[INFO] [stdout] help: consider further restricting the associated type
[INFO] [stdout]     |
[INFO] [stdout] 178 |   pub fn __detour(&self) -> &dyn Fn<T::Arguments, Output = T::Output> where <T as Function>::Arguments: Tuple {
[INFO] [stdout]     |                                                                       +++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0059, E0277.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0059`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `detour` (lib) due to 4 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 15 previous errors; 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0059, E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0059`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `detour` (lib test) due to 16 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "1a7ea7747ac913570b541d2b01f85be84cd92ee575572cac68bb90c113b0b88f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a7ea7747ac913570b541d2b01f85be84cd92ee575572cac68bb90c113b0b88f", kill_on_drop: false }`
[INFO] [stdout] 1a7ea7747ac913570b541d2b01f85be84cd92ee575572cac68bb90c113b0b88f
[INFO] checking detour-0.8.1 against try#b4fc5dbf0bc33be331f9d893db5b3a794f29724a+rustflags=-Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds for pr-121251
[INFO] extracting crate detour 0.8.1 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate detour 0.8.1 on toolchain b4fc5dbf0bc33be331f9d893db5b3a794f29724a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate detour 0.8.1
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate detour 0.8.1
[INFO] tweaked toml for crates.io crate detour 0.8.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] crate crates.io crate detour 0.8.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 46926edcb766f1a17a9cd11c730fc1060ff865c519e33fcfbb5e62f78d976973
[INFO] running `Command { std: "docker" "start" "-a" "46926edcb766f1a17a9cd11c730fc1060ff865c519e33fcfbb5e62f78d976973", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "46926edcb766f1a17a9cd11c730fc1060ff865c519e33fcfbb5e62f78d976973", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "46926edcb766f1a17a9cd11c730fc1060ff865c519e33fcfbb5e62f78d976973", kill_on_drop: false }`
[INFO] [stdout] 46926edcb766f1a17a9cd11c730fc1060ff865c519e33fcfbb5e62f78d976973
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 72b092725e81bfe3e7aecea524121a7bd4677d9b865cc51f43e97e94bf1646aa
[INFO] running `Command { std: "docker" "start" "-a" "72b092725e81bfe3e7aecea524121a7bd4677d9b865cc51f43e97e94bf1646aa", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.94
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling typenum v1.13.0
[INFO] [stderr]    Compiling cc v1.0.67
[INFO] [stderr]    Compiling version_check v0.9.3
[INFO] [stderr]     Checking slice-pool v0.4.1
[INFO] [stderr]     Checking matches v0.1.8
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling libudis86-sys v0.2.1
[INFO] [stderr]     Checking mmap-fixed v0.1.5
[INFO] [stderr]     Checking region v2.2.0
[INFO] [stderr]     Checking detour v0.8.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/arch/x86/mod.rs:144:7
[INFO] [stdout]     |
[INFO] [stdout] 144 |       asm!(
[INFO] [stdout]     |       ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 14  +   use core::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 14  +   use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/arch/x86/mod.rs:124:7
[INFO] [stdout]     |
[INFO] [stdout] 124 |       asm!(
[INFO] [stdout]     |       ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 14  +   use core::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 14  +   use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]    --> src/arch/x86/mod.rs:103:7
[INFO] [stdout]     |
[INFO] [stdout] 103 |       asm!(
[INFO] [stdout]     |       ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 14  +   use core::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 14  +   use std::arch::asm;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/arch/x86/mod.rs:85:7
[INFO] [stdout]    |
[INFO] [stdout] 85 |       asm!(
[INFO] [stdout]    |       ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 14 +   use core::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 14 +   use std::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/arch/x86/mod.rs:64:7
[INFO] [stdout]    |
[INFO] [stdout] 64 |       asm!(
[INFO] [stdout]    |       ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 14 +   use core::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 14 +   use std::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `asm` in this scope
[INFO] [stdout]   --> src/arch/x86/mod.rs:43:7
[INFO] [stdout]    |
[INFO] [stdout] 43 |       asm!(
[INFO] [stdout]    |       ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 14 +   use core::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 14 +   use std::arch::asm;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/alloc/proximity.rs:21:24
[INFO] [stdout]    |
[INFO] [stdout] 21 |       let memory_range = ((origin as usize).saturating_sub(self.max_distance))
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 22 | |       ..((origin as usize).saturating_add(self.max_distance));
[INFO] [stdout]    | |_____________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/alloc/proximity.rs:47:10
[INFO] [stdout]    |
[INFO] [stdout] 47 |         (lower..upper).contains(&(value.as_ptr() as usize))
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/alloc/search.rs:37:30
[INFO] [stdout]    |
[INFO] [stdout] 37 |       range: range.unwrap_or(0..usize::max_value()),
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/arch/x86/trampoline/mod.rs:146:9
[INFO] [stdout]     |
[INFO] [stdout] 146 |     if (-(self.total_bytes_disassembled as isize)..0).contains(&displacement) {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/arch/x86/trampoline/mod.rs:171:15
[INFO] [stdout]     |
[INFO] [stdout] 171 |         bytes[index..instruction_bytes.len()].copy_from_slice(&as_bytes);
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/arch/x86/trampoline/mod.rs:194:24
[INFO] [stdout]     |
[INFO] [stdout] 194 |     let prolog_range = (self.target as usize)..(self.target as usize + self.margin);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/arch/mod.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 |   (-range..range).contains(&(displacement as i64))
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library
[INFO] [stdout]  --> src/lib.rs:8:28
[INFO] [stdout]   |
[INFO] [stdout] 8 |   feature(naked_functions, core_intrinsics, asm)
[INFO] [stdout]   |                            ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: using it is strongly discouraged
[INFO] [stdout]   = note: `#[warn(internal_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/alloc/proximity.rs:21:24
[INFO] [stdout]    |
[INFO] [stdout] 21 |       let memory_range = ((origin as usize).saturating_sub(self.max_distance))
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 22 | |       ..((origin as usize).saturating_add(self.max_distance));
[INFO] [stdout]    | |_____________________________________________________________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/alloc/proximity.rs:47:10
[INFO] [stdout]    |
[INFO] [stdout] 47 |         (lower..upper).contains(&(value.as_ptr() as usize))
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/alloc/search.rs:37:30
[INFO] [stdout]    |
[INFO] [stdout] 37 |       range: range.unwrap_or(0..usize::max_value()),
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/arch/x86/trampoline/mod.rs:146:9
[INFO] [stdout]     |
[INFO] [stdout] 146 |     if (-(self.total_bytes_disassembled as isize)..0).contains(&displacement) {
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/arch/x86/trampoline/mod.rs:171:15
[INFO] [stdout]     |
[INFO] [stdout] 171 |         bytes[index..instruction_bytes.len()].copy_from_slice(&as_bytes);
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/arch/x86/trampoline/mod.rs:194:24
[INFO] [stdout]     |
[INFO] [stdout] 194 |     let prolog_range = (self.target as usize)..(self.target as usize + self.margin);
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/arch/mod.rs:35:4
[INFO] [stdout]    |
[INFO] [stdout] 35 |   (-range..range).contains(&(displacement as i64))
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `const_fn_trait_bound` has been stable since 1.61.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 |   feature(const_fn_trait_bound, unboxed_closures, abi_thiscall)
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `abi_thiscall` has been stable since 1.73.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:4:51
[INFO] [stdout]   |
[INFO] [stdout] 4 |   feature(const_fn_trait_bound, unboxed_closures, abi_thiscall)
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `asm` has been stable since 1.59.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:8:45
[INFO] [stdout]   |
[INFO] [stdout] 8 |   feature(naked_functions, core_intrinsics, asm)
[INFO] [stdout]   |                                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `const_fn_trait_bound` has been stable since 1.61.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 |   feature(const_fn_trait_bound, unboxed_closures, abi_thiscall)
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `abi_thiscall` has been stable since 1.73.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/lib.rs:4:51
[INFO] [stdout]   |
[INFO] [stdout] 4 |   feature(const_fn_trait_bound, unboxed_closures, abi_thiscall)
[INFO] [stdout]   |                                                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0059]: type parameter to bare `Fn` trait must be a tuple
[INFO] [stdout]    --> src/detours/statik.rs:106:8
[INFO] [stdout]     |
[INFO] [stdout] 106 |     D: Fn<T::Arguments, Output = T::Output> + Send + 'static,
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Tuple` is not implemented for `<T as Function>::Arguments`
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `Fn`
[INFO] [stdout]    --> /rustc/b4fc5dbf0bc33be331f9d893db5b3a794f29724a/library/core/src/ops/function.rs:76:1
[INFO] [stdout] help: consider further restricting the associated type
[INFO] [stdout]     |
[INFO] [stdout] 106 |     D: Fn<T::Arguments, Output = T::Output> + Send + 'static, <T as Function>::Arguments: Tuple
[INFO] [stdout]     |                                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0059]: type parameter to bare `Fn` trait must be a tuple
[INFO] [stdout]    --> src/detours/statik.rs:157:8
[INFO] [stdout]     |
[INFO] [stdout] 157 |     C: Fn<T::Arguments, Output = T::Output> + Send + 'static,
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Tuple` is not implemented for `<T as Function>::Arguments`
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `Fn`
[INFO] [stdout]    --> /rustc/b4fc5dbf0bc33be331f9d893db5b3a794f29724a/library/core/src/ops/function.rs:76:1
[INFO] [stdout] help: consider further restricting the associated type
[INFO] [stdout]     |
[INFO] [stdout] 157 |     C: Fn<T::Arguments, Output = T::Output> + Send + 'static, <T as Function>::Arguments: Tuple
[INFO] [stdout]     |                                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0059]: type parameter to bare `Fn` trait must be a tuple
[INFO] [stdout]    --> src/detours/statik.rs:106:8
[INFO] [stdout]     |
[INFO] [stdout] 106 |     D: Fn<T::Arguments, Output = T::Output> + Send + 'static,
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Tuple` is not implemented for `<T as Function>::Arguments`
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `Fn`
[INFO] [stdout]    --> /rustc/b4fc5dbf0bc33be331f9d893db5b3a794f29724a/library/core/src/ops/function.rs:76:1
[INFO] [stdout] help: consider further restricting the associated type
[INFO] [stdout]     |
[INFO] [stdout] 106 |     D: Fn<T::Arguments, Output = T::Output> + Send + 'static, <T as Function>::Arguments: Tuple
[INFO] [stdout]     |                                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0059]: type parameter to bare `Fn` trait must be a tuple
[INFO] [stdout]    --> src/detours/statik.rs:157:8
[INFO] [stdout]     |
[INFO] [stdout] 157 |     C: Fn<T::Arguments, Output = T::Output> + Send + 'static,
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Tuple` is not implemented for `<T as Function>::Arguments`
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `Fn`
[INFO] [stdout]    --> /rustc/b4fc5dbf0bc33be331f9d893db5b3a794f29724a/library/core/src/ops/function.rs:76:1
[INFO] [stdout] help: consider further restricting the associated type
[INFO] [stdout]     |
[INFO] [stdout] 157 |     C: Fn<T::Arguments, Output = T::Output> + Send + 'static, <T as Function>::Arguments: Tuple
[INFO] [stdout]     |                                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/arch/x86/mod.rs:42:43
[INFO] [stdout]    |
[INFO] [stdout] 42 |     unsafe extern "C" fn branch_ret5() -> i32 {
[INFO] [stdout]    |                          -----------      ^^^ expected `i32`, found `()`
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/arch/x86/mod.rs:63:45
[INFO] [stdout]    |
[INFO] [stdout] 63 |     unsafe extern "C" fn hotpatch_ret0() -> i32 {
[INFO] [stdout]    |                          -------------      ^^^ expected `i32`, found `()`
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/arch/x86/mod.rs:84:50
[INFO] [stdout]    |
[INFO] [stdout] 84 |     unsafe extern "C" fn padding_after_ret0() -> i32 {
[INFO] [stdout]    |                          ------------------      ^^^ expected `i32`, found `()`
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/arch/x86/mod.rs:102:45
[INFO] [stdout]     |
[INFO] [stdout] 102 |     unsafe extern "C" fn external_loop() -> i32 {
[INFO] [stdout]     |                          -------------      ^^^ expected `i32`, found `()`
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/arch/x86/mod.rs:123:51
[INFO] [stdout]     |
[INFO] [stdout] 123 |     unsafe extern "C" fn rip_relative_ret195() -> i32 {
[INFO] [stdout]     |                          -------------------      ^^^ expected `i32`, found `()`
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/arch/x86/mod.rs:143:57
[INFO] [stdout]     |
[INFO] [stdout] 143 |     unsafe extern "C" fn rip_relative_prolog_ret49() -> i32 {
[INFO] [stdout]     |                          -------------------------      ^^^ expected `i32`, found `()`
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `<T as Function>::Arguments` is not a tuple
[INFO] [stdout]    --> src/detours/statik.rs:180:5
[INFO] [stdout]     |
[INFO] [stdout] 180 | /     unsafe { self.closure.load(Ordering::SeqCst).as_ref() }
[INFO] [stdout] 181 | |       .ok_or(Error::NotInitialized)
[INFO] [stdout] 182 | |       .expect("retrieving detour closure")
[INFO] [stdout]     | |__________________________________________^ the trait `Tuple` is not implemented for `<T as Function>::Arguments`, which is required by `Box<dyn Fn<<T as Function>::Arguments, Output = <T as Function>::Output>>: Fn<<T as Function>::Arguments>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: required for `Box<dyn Fn<<T as Function>::Arguments, Output = <T as Function>::Output>>` to implement `Fn<<T as Function>::Arguments>`
[INFO] [stdout]     = note: required for the cast from `&Box<dyn Fn<<T as Function>::Arguments, Output = <T as Function>::Output>>` to `&dyn Fn<<T as Function>::Arguments, Output = <T as Function>::Output>`
[INFO] [stdout] help: consider further restricting the associated type
[INFO] [stdout]     |
[INFO] [stdout] 178 |   pub fn __detour(&self) -> &dyn Fn<T::Arguments, Output = T::Output> where <T as Function>::Arguments: Tuple {
[INFO] [stdout]     |                                                                       +++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `<T as Function>::Arguments` is not a tuple
[INFO] [stdout]    --> src/detours/statik.rs:180:5
[INFO] [stdout]     |
[INFO] [stdout] 180 | /     unsafe { self.closure.load(Ordering::SeqCst).as_ref() }
[INFO] [stdout] 181 | |       .ok_or(Error::NotInitialized)
[INFO] [stdout] 182 | |       .expect("retrieving detour closure")
[INFO] [stdout]     | |__________________________________________^ the trait `Tuple` is not implemented for `<T as Function>::Arguments`, which is required by `Box<dyn Fn<<T as Function>::Arguments, Output = <T as Function>::Output>>: Fn<<T as Function>::Arguments>`
[INFO] [stdout]     |
[INFO] [stdout]     = note: required for `Box<dyn Fn<<T as Function>::Arguments, Output = <T as Function>::Output>>` to implement `Fn<<T as Function>::Arguments>`
[INFO] [stdout]     = note: required for the cast from `&Box<dyn Fn<<T as Function>::Arguments, Output = <T as Function>::Output>>` to `&dyn Fn<<T as Function>::Arguments, Output = <T as Function>::Output>`
[INFO] [stdout] help: consider further restricting the associated type
[INFO] [stdout]     |
[INFO] [stdout] 178 |   pub fn __detour(&self) -> &dyn Fn<T::Arguments, Output = T::Output> where <T as Function>::Arguments: Tuple {
[INFO] [stdout]     |                                                                       +++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 9 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0059, E0277.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0059`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `detour` (lib) due to 4 previous errors; 9 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 15 previous errors; 11 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0059, E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0059`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `detour` (lib test) due to 16 previous errors; 11 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "72b092725e81bfe3e7aecea524121a7bd4677d9b865cc51f43e97e94bf1646aa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "72b092725e81bfe3e7aecea524121a7bd4677d9b865cc51f43e97e94bf1646aa", kill_on_drop: false }`
[INFO] [stdout] 72b092725e81bfe3e7aecea524121a7bd4677d9b865cc51f43e97e94bf1646aa
